package com.tf.six.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("report")
public class Report {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long reporterId;     // 举报人ID
    private Integer targetType;  // 举报类型(0=商品,1=评论)
    private Long targetId;       // 被举报对象ID
    private String reason;       // 举报原因
    private Integer status;      // 处理状态(0=未处理,1=已处理)
    private LocalDateTime createTime;
}